package com.zhuang.arraylist.collectiondemo;

public class Student {
	private String sid;
	private int age;
	private String name;
	private String address;

	public Student() {
	}

	public Student(String sid, int age, String name, String address) {
		this.sid = sid;
		this.age = age;
		this.name = name;
		this.address = address;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Student{" + "sid='" + sid + '\'' + ", age=" + age + ", name='" + name + '\'' + ", address='" + address
				+ '\'' + '}';
	}
}
